package com.example.service_order.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * @TableName t_order
 */
@Data
public class Order implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String orderNo;

    private String courseId;

    private String courseTitle;

    private String courseCover;

    private String teacherName;

    private String memberId;

    private String nickname;

    private String mobile;

    private BigDecimal totalFee;

    private Integer payType;

    private Integer status;
    @TableLogic
    private Integer isDeleted;
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    private static final long serialVersionUID = 1L;
}
